package com.newland.boss1.zxy;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : zhangxuyuan
 * @Project: springcloudhuaweisample
 * @Package com.newland.boss1.zxy
 * @date Date : 2021年02月19日 13:55
 */
@FeignClient(name = "price")
public interface FeignService {

    @GetMapping("/price")
    String getPrice(@RequestParam("id")String id);
}
